import React, { memo } from "react";
import { WaitCodeStyle } from "./style";

export default memo(function WaitCode(props) {
  return (
    <WaitCodeStyle>
      <div className="wait">
        <div className="waitLogin"></div>
        <div className="waitLoginP">
          <p>扫描成功</p>
          <p>请在手机上确认登录</p>
        </div>
      </div>
      <div onClick={props.changeWayLogin} className="checkLoginWay">
        选择其他登录模式
      </div>
    </WaitCodeStyle>
  );
});
